<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<f:view xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui"
	xmlns:util="http://java.sun.com/jsf/composite/util">
	
	<p:dialog style="position:absolute" header="#{i18n.DialogoExcluirArtefato_Header}" widgetVar="dialogoExcluirArtefato" 
		width="450" modal="true" appendToBody="true" closable="true" resizable="false" >
		<h:form id="formExcluirArtefato">  
			<div class="dialog_container_16">
				<div class="dialog_grid_16 div-label" style="margin-top: 7px; margin-bottom: 7px;">
					<center><label class="label">#{artefatoBean.msgExclusao}</label></center>
				</div>
				<div class="dialog_grid_16"><hr /></div>
				<div class="dialog_grid_16 right">
					<p:commandButton value="#{i18n.btn_Cancelar}" update=":formPrincipal"
						onstart="spinner.show();" oncomplete="spinner.hide();dialogoExcluirArtefato.hide();" 
						action="#{artefatoBean.excluirArtefato}" />
					<p:commandButton value="#{i18n.btn_Cancelar}" type="button" onclick="dialogoExcluirArtefato.hide();" />
				</div>
			</div>
		</h:form>
	</p:dialog>
	
</f:view>
